<?php
session_start();
require_once __DIR__ . '/includes/db.php';
require_once __DIR__ . '/includes/functions.php';
?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description"
        content="Explore Oakshire Finance's connected banking services, from everyday accounts to lending and investments." />
    <title>Our Services | Oakshire Finance</title>
    <link rel="preconnect" href="https://fonts.googleapis.com" />
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
    <link
        href="https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,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>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-navy: #0a2540;
            --primary-dark: #0a1c2f;
            --primary-blue: #1a4d8c;
            --accent-blue: #2c7da0;
            --success-green: #2e7d32;
            --gray-50: #f8f9fc;
            --gray-100: #f1f3f9;
            --gray-200: #e9ecef;
            --gray-300: #dee2e6;
            --gray-400: #ced4da;
            --gray-500: #adb5bd;
            --gray-600: #6c757d;
            --gray-700: #495057;
            --gray-800: #343a40;
            --gray-900: #212529;
            --white: #ffffff;
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
            --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
            --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
            --shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.12);
            --transition: all 0.3s ease;
        }

        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            color: var(--gray-800);
            background-color: var(--gray-50);
            line-height: 1.5;
            overflow-x: hidden;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 32px;
        }

        /* Animation Keyframes */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInLeft {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(30px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .animate-fadeUp {
            animation: fadeInUp 0.8s ease forwards;
        }

        .animate-fadeLeft {
            animation: fadeInLeft 0.8s ease forwards;
        }

        .animate-fadeRight {
            animation: fadeInRight 0.8s ease forwards;
        }

        .delay-100 {
            animation-delay: 0.1s;
            opacity: 0;
        }

        .delay-200 {
            animation-delay: 0.2s;
            opacity: 0;
        }

        .delay-300 {
            animation-delay: 0.3s;
            opacity: 0;
        }

        /* Header */
        header {
            background: var(--white);
            box-shadow: var(--shadow-sm);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid var(--gray-200);
            transition: var(--transition);
        }

        header.scrolled {
            box-shadow: var(--shadow-md);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 72px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            transition: var(--transition);
        }

        .logo:hover {
            transform: scale(1.02);
        }

        .logo-icon {
            width: 38px;
            height: 38px;
            background: var(--primary-navy);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .logo-icon i {
            font-size: 18px;
            color: white;
        }

        .logo-text {
            font-size: 24px;
            font-weight: 700;
            color: var(--primary-navy);
            letter-spacing: -0.3px;
        }

        .nav-links {
            display: flex;
            gap: 32px;
        }

        .nav-links a {
            text-decoration: none;
            font-weight: 500;
            color: var(--gray-700);
            transition: var(--transition);
            font-size: 15px;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-blue);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--primary-blue);
        }

        .auth-buttons {
            display: flex;
            gap: 16px;
            align-items: center;
        }

        .btn-outline {
            padding: 8px 20px;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            border: 1px solid var(--gray-300);
            color: var(--gray-700);
            transition: var(--transition);
            background: transparent;
        }

        .btn-outline:hover {
            border-color: var(--primary-blue);
            color: var(--primary-blue);
        }

        .btn-primary {
            padding: 8px 24px;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            background: var(--primary-navy);
            color: white;
            transition: var(--transition);
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
        }

        /* Mobile Menu */
        .hamburger {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--gray-800);
            transition: var(--transition);
        }

        .hamburger:hover {
            color: var(--primary-blue);
        }

        @media (max-width: 900px) {
            .container {
                padding: 0 20px;
            }

            .nav-links,
            .auth-buttons {
                position: fixed;
                top: 72px;
                left: 0;
                width: 100%;
                background: var(--white);
                flex-direction: column;
                padding: 24px;
                gap: 16px;
                box-shadow: var(--shadow-lg);
                transform: translateY(-120%);
                opacity: 0;
                pointer-events: none;
                transition: transform 0.3s ease, opacity 0.2s ease;
                z-index: 999;
                border-bottom: 1px solid var(--gray-200);
            }

            .nav-links {
                align-items: center;
            }

            .auth-buttons {
                top: calc(72px + 260px);
                flex-direction: row;
                justify-content: center;
            }

            .nav-links.active,
            .auth-buttons.active {
                transform: translateY(0);
                opacity: 1;
                pointer-events: all;
            }

            .hamburger {
                display: block;
            }
        }

        /* Page Hero */
        .page-hero {
            margin-top: 72px;
            background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-dark) 100%);
            padding: 80px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .page-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><path fill="white" d="M10,50 L90,50 M50,10 L50,90 M30,30 L70,70 M30,70 L70,30"/></svg>') repeat;
            pointer-events: none;
        }

        .page-hero h1 {
            font-size: 48px;
            font-weight: 800;
            color: white;
            margin-bottom: 16px;
            animation: fadeInUp 0.6s ease;
        }

        .page-hero p {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.85);
            max-width: 700px;
            margin: 0 auto;
            animation: fadeInUp 0.6s ease 0.1s forwards;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.6s ease 0.1s forwards;
        }

        /* Service Categories */
        .service-category {
            padding: 80px 0;
        }

        .service-category:nth-child(even) {
            background: var(--white);
        }

        .service-category:nth-child(odd) {
            background: var(--gray-50);
        }

        .category-header {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 60px;
        }

        .category-header h2 {
            font-size: 36px;
            font-weight: 700;
            color: var(--gray-900);
            margin-bottom: 16px;
        }

        .category-header p {
            font-size: 18px;
            color: var(--gray-600);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 32px;
        }

        .service-card {
            background: var(--white);
            border-radius: 20px;
            padding: 32px;
            border: 1px solid var(--gray-200);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.5s ease;
        }

        .service-card:hover::before {
            transform: scaleX(1);
        }

        .service-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: var(--gray-300);
        }

        .service-icon {
            width: 70px;
            height: 70px;
            background: rgba(26, 77, 140, 0.1);
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 24px;
            transition: var(--transition);
        }

        .service-card:hover .service-icon {
            background: var(--primary-navy);
        }

        .service-icon i {
            font-size: 32px;
            color: var(--primary-blue);
            transition: var(--transition);
        }

        .service-card:hover .service-icon i {
            color: white;
        }

        .service-card h3 {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 12px;
            color: var(--gray-900);
        }

        .service-card p {
            color: var(--gray-600);
            margin-bottom: 20px;
            line-height: 1.6;
        }

        .service-features {
            list-style: none;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid var(--gray-200);
        }

        .service-features li {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
            font-size: 14px;
            color: var(--gray-700);
        }

        .service-features li i {
            color: var(--success-green);
            font-size: 14px;
        }

        .service-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 20px;
            color: var(--primary-blue);
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
        }

        .service-link:hover {
            gap: 12px;
            color: var(--primary-navy);
        }

        /* Comparison Table */
        .comparison-section {
            padding: 80px 0;
            background: var(--white);
        }

        .comparison-table {
            overflow-x: auto;
            background: var(--white);
            border-radius: 20px;
            box-shadow: var(--shadow-md);
        }

        .comparison-table table {
            width: 100%;
            border-collapse: collapse;
        }

        .comparison-table th,
        .comparison-table td {
            padding: 20px;
            text-align: left;
            border-bottom: 1px solid var(--gray-200);
        }

        .comparison-table th {
            background: var(--primary-navy);
            color: white;
            font-weight: 600;
            font-size: 16px;
        }

        .comparison-table th:first-child {
            border-radius: 20px 0 0 0;
        }

        .comparison-table th:last-child {
            border-radius: 0 20px 0 0;
        }

        .comparison-table td {
            color: var(--gray-700);
        }

        .comparison-table tr:hover td {
            background: var(--gray-50);
        }

        .check-icon {
            color: var(--success-green);
            font-size: 18px;
        }

        /* CTA Section */
        .cta-section {
            padding: 80px 0;
            background: linear-gradient(135deg, var(--primary-navy), var(--primary-dark));
            text-align: center;
        }

        .cta-section h2 {
            font-size: 36px;
            font-weight: 700;
            color: white;
            margin-bottom: 16px;
        }

        .cta-section p {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.85);
            max-width: 600px;
            margin: 0 auto 32px;
        }

        .btn-cta {
            background: white;
            color: var(--primary-navy);
            padding: 14px 36px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-cta:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        /* Footer */
        footer {
            background: var(--gray-900);
            color: var(--gray-400);
            padding: 60px 0 32px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 48px;
            margin-bottom: 48px;
        }

        .footer-col h4 {
            font-size: 16px;
            font-weight: 600;
            color: white;
            margin-bottom: 20px;
        }

        .footer-col p {
            font-size: 14px;
            line-height: 1.6;
            color: var(--gray-500);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: var(--gray-500);
            text-decoration: none;
            font-size: 14px;
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: white;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 32px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
            font-size: 13px;
        }

        .social-links {
            display: flex;
            gap: 20px;
        }

        .social-links a {
            color: var(--gray-500);
            font-size: 18px;
            transition: var(--transition);
        }

        .social-links a:hover {
            color: white;
            transform: translateY(-2px);
        }

        @media (max-width: 768px) {
            .container {
                padding: 0 20px;
            }

            .page-hero h1 {
                font-size: 32px;
            }

            .services-grid {
                grid-template-columns: 1fr;
            }

            .category-header h2 {
                font-size: 28px;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }

        /* Scroll Animation */
        .scroll-trigger {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .scroll-trigger.visible {
            opacity: 1;
            transform: translateY(0);
        }
    </style>
    <link rel="stylesheet" href="assets/css/nexus-theme.css" />
</head>

<body>
    <header id="header">
        <div class="container">
            <nav>
                <a href="index.php" class="logo">
                    <div class="logo-icon">
                        <i class="fas fa-building-columns"></i>
                    </div>
                    <span class="logo-text">Oakshire Finance</span>
                </a>
                <div class="nav-links" id="navLinks">
                    <a href="index.php">Home</a>
                    <a href="about-us.php">About Us</a>
                    <a href="services.php" class="active">Services</a>
                    <a href="contact.php">Contact</a>
                </div>
                <div class="auth-buttons" id="authButtons">
                    <?php if (isset($_SESSION['user_id'])): ?>
                        <a href="dashboard.php" class="btn-outline">Dashboard</a>
                        <a href="logout.php" class="btn-outline">Logout</a>
                    <?php else: ?>
                        <a href="login.php" class="btn-outline">Sign In</a>
                        <a href="register.php" class="btn-primary">Open Account</a>
                    <?php endif; ?>
                </div>
                <button class="hamburger" id="hamburger" aria-label="Menu">
                    <i class="fas fa-bars"></i>
                </button>
            </nav>
        </div>
    </header>

    <main>
        <!-- Hero Section -->
        <section class="page-hero">
            <div class="container">
                <h1>Banking Services for Every Stage of Life</h1>
                <p>From everyday banking to complex financial strategies, we offer comprehensive solutions designed to
                    help you achieve your goals.</p>
            </div>
        </section>

        <!-- Personal Banking Services -->
        <section class="service-category">
            <div class="container">
                <div class="category-header scroll-trigger">
                    <h2>Personal Banking</h2>
                    <p>Smart, simple banking solutions tailored to your individual needs.</p>
                </div>
                <div class="services-grid">
                    <div class="service-card scroll-trigger">
                        <div class="service-icon"><i class="fas fa-piggy-bank"></i></div>
                        <h3>Savings Accounts</h3>
                        <p>Build your financial future with competitive interest rates and no monthly maintenance fees.
                        </p>
                        <ul class="service-features">
                            <li><i class="fas fa-check-circle"></i> High-yield interest rates</li>
                            <li><i class="fas fa-check-circle"></i> No minimum balance required</li>
                            <li><i class="fas fa-check-circle"></i> Free online transfers</li>
                        </ul>
                        <a href="#" class="service-link">Learn more <i class="fas fa-arrow-right"></i></a>
                    </div>
                    <div class="service-card scroll-trigger">
                        <div class="service-icon"><i class="fas fa-credit-card"></i></div>
                        <h3>Credit Cards</h3>
                        <p>Rewards, cashback, and flexible payment options designed for your lifestyle.</p>
                        <ul class="service-features">
                            <li><i class="fas fa-check-circle"></i> Up to 5% cashback on purchases</li>
                            <li><i class="fas fa-check-circle"></i> No annual fee options</li>
                            <li><i class="fas fa-check-circle"></i> Fraud protection guarantee</li>
                        </ul>
                        <a href="#" class="service-link">Learn more <i class="fas fa-arrow-right"></i></a>
                    </div>
                    <div class="service-card scroll-trigger">
                        <div class="service-icon"><i class="fas fa-chart-line"></i></div>
                        <h3>Investment Accounts</h3>
                        <p>Grow your wealth with expert guidance and diversified investment options.</p>
                        <ul class="service-features">
                            <li><i class="fas fa-check-circle"></i> Personalized portfolio management</li>
                            <li><i class="fas fa-check-circle"></i> Retirement planning</li>
                            <li><i class="fas fa-check-circle"></i> Tax-advantaged accounts</li>
                        </ul>
                        <a href="#" class="service-link">Learn more <i class="fas fa-arrow-right"></i></a>
                    </div>
                </div>
            </div>
        </section>

        <!-- Lending Services -->
        <section class="service-category">
            <div class="container">
                <div class="category-header scroll-trigger">
                    <h2>Lending Solutions</h2>
                    <p>Flexible financing options to help you achieve your dreams.</p>
                </div>
                <div class="services-grid">
                    <div class="service-card scroll-trigger">
                        <div class="service-icon"><i class="fas fa-home"></i></div>
                        <h3>Home Loans</h3>
                        <p>Competitive mortgage rates and personalized guidance for your home purchase or refinance.</p>
                        <ul class="service-features">
                            <li><i class="fas fa-check-circle"></i> Fixed and adjustable-rate options</li>
                            <li><i class="fas fa-check-circle"></i> First-time homebuyer programs</li>
                            <li><i class="fas fa-check-circle"></i> Fast pre-approval process</li>
                        </ul>
                        <a href="#" class="service-link">Learn more <i class="fas fa-arrow-right"></i></a>
                    </div>
                    <div class="service-card scroll-trigger">
                        <div class="service-icon"><i class="fas fa-car"></i></div>
                        <h3>Auto Loans</h3>
                        <p>Drive your dream car with competitive rates and flexible terms.</p>
                        <ul class="service-features">
                            <li><i class="fas fa-check-circle"></i> New and used vehicle financing</li>
                            <li><i class="fas fa-check-circle"></i> Rates as low as 3.99% APR</li>
                            <li><i class="fas fa-check-circle"></i> 100% online application</li>
                        </ul>
                        <a href="#" class="service-link">Learn more <i class="fas fa-arrow-right"></i></a>
                    </div>
                    <div class="service-card scroll-trigger">
                        <div class="service-icon"><i class="fas fa-graduation-cap"></i></div>
                        <h3>Student Loans</h3>
                        <p>Invest in your education with affordable student loan options.</p>
                        <ul class="service-features">
                            <li><i class="fas fa-check-circle"></i> Competitive interest rates</li>
                            <li><i class="fas fa-check-circle"></i> Flexible repayment plans</li>
                            <li><i class="fas fa-check-circle"></i> No origination fees</li>
                        </ul>
                        <a href="#" class="service-link">Learn more <i class="fas fa-arrow-right"></i></a>
                    </div>
                </div>
            </div>
        </section>

        <!-- Business Banking -->
        <section class="service-category">
            <div class="container">
                <div class="category-header scroll-trigger">
                    <h2>Business Banking</h2>
                    <p>Solutions to help your business grow and succeed.</p>
                </div>
                <div class="services-grid">
                    <div class="service-card scroll-trigger">
                        <div class="service-icon"><i class="fas fa-building"></i></div>
                        <h3>Business Accounts</h3>
                        <p>Streamlined banking solutions for businesses of all sizes.</p>
                        <ul class="service-features">
                            <li><i class="fas fa-check-circle"></i> No monthly fees with minimum balance</li>
                            <li><i class="fas fa-check-circle"></i> Free wire transfers</li>
                            <li><i class="fas fa-check-circle"></i> Multi-user access</li>
                        </ul>
                        <a href="#" class="service-link">Learn more <i class="fas fa-arrow-right"></i></a>
                    </div>
                    <div class="service-card scroll-trigger">
                        <div class="service-icon"><i class="fas fa-chart-pie"></i></div>
                        <h3>Merchant Services</h3>
                        <p>Accept payments anywhere with our comprehensive merchant solutions.</p>
                        <ul class="service-features">
                            <li><i class="fas fa-check-circle"></i> Mobile payment processing</li>
                            <li><i class="fas fa-check-circle"></i> Competitive transaction rates</li>
                            <li><i class="fas fa-check-circle"></i> Next-day funding</li>
                        </ul>
                        <a href="#" class="service-link">Learn more <i class="fas fa-arrow-right"></i></a>
                    </div>
                    <div class="service-card scroll-trigger">
                        <div class="service-icon"><i class="fas fa-handshake"></i></div>
                        <h3>Business Loans</h3>
                        <p>Capital to fuel your business growth and expansion.</p>
                        <ul class="service-features">
                            <li><i class="fas fa-check-circle"></i> SBA loans available</li>
                            <li><i class="fas fa-check-circle"></i> Lines of credit</li>
                            <li><i class="fas fa-check-circle"></i> Equipment financing</li>
                        </ul>
                        <a href="#" class="service-link">Learn more <i class="fas fa-arrow-right"></i></a>
                    </div>
                </div>
            </div>
        </section>

        <!-- Comparison Table -->
        <section class="comparison-section">
            <div class="container">
                <div class="category-header scroll-trigger">
                    <h2>Compare Our Accounts</h2>
                    <p>Find the perfect account that matches your banking needs.</p>
                </div>
                <div class="comparison-table scroll-trigger">
                    <table>
                        <thead>
                            <tr>
                                <th>Features</th>
                                <th>Basic Checking</th>
                                <th>Premium Checking</th>
                                <th>Savings Account</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td>Monthly Fee</td>
                                <td>$0</td>
                                <td>$0</td>
                                <td>$0</td>
                            </tr>
                            <tr>
                                <td>Minimum Balance</td>
                                <td>$0</td>
                                <td>$1,000</td>
                                <td>$100</td>
                            </tr>
                            <tr>
                                <td>ATM Fee Reimbursement</td>
                                <td><i class="fas fa-times check-icon" style="color: #dc3545;"></i></td>
                                <td><i class="fas fa-check check-icon"></i></td>
                                <td><i class="fas fa-times check-icon" style="color: #dc3545;"></i></td>
                            </tr>
                            <tr>
                                <td>Interest Rate</td>
                                <td>0.01%</td>
                                <td>0.05%</td>
                                <td>2.50%</td>
                            </tr>
                            <tr>
                                <td>Mobile Check Deposit</td>
                                <td><i class="fas fa-check check-icon"></i></td>
                                <td><i class="fas fa-check check-icon"></i></td>
                                <td><i class="fas fa-check check-icon"></i></td>
                            </tr>
                            <tr>
                                <td>Free Checks</td>
                                <td><i class="fas fa-times check-icon" style="color: #dc3545;"></i></td>
                                <td><i class="fas fa-check check-icon"></i></td>
                                <td><i class="fas fa-times check-icon" style="color: #dc3545;"></i></td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </section>

        <!-- CTA Section -->
        <section class="cta-section">
            <div class="container">
                <h2>Ready to get started?</h2>
                <p>Open an account in minutes and start enjoying the benefits of banking with Nexus.</p>
                <a href="register.php" class="btn-cta">Open an Account <i class="fas fa-arrow-right"></i></a>
            </div>
        </section>
    </main>

    <footer>
        <div class="container">
            <div class="footer-grid">
                <div class="footer-col">
                    <h4>Oakshire Finance</h4>
                    <p>Building trust through secure, reliable banking solutions since 2019.</p>
                    <div style="margin-top: 16px;">
                        <p><i class="fas fa-envelope"></i> support@oakshirefinance.com</p>
                        <p><i class="fas fa-phone"></i> 1-800-NEXUS-01</p>
                    </div>
                </div>
                <div class="footer-col">
                    <h4>Banking</h4>
                    <ul class="footer-links">
                        <li><a href="#">Personal Banking</a></li>
                        <li><a href="#">Business Banking</a></li>
                        <li><a href="#">Loans</a></li>
                        <li><a href="#">Credit Cards</a></li>
                    </ul>
                </div>
                <div class="footer-col">
                    <h4>Support</h4>
                    <ul class="footer-links">
                        <li><a href="#">Help Center</a></li>
                        <li><a href="#">Security</a></li>
                        <li><a href="#">Fraud Prevention</a></li>
                        <li><a href="contact.php">Contact Us</a></li>
                    </ul>
                </div>
                <div class="footer-col">
                    <h4>Legal</h4>
                    <ul class="footer-links">
                        <li><a href="terms.php">Terms & Conditions</a></li>
                        <li><a href="privacy-policy.php">Privacy Policy</a></li>
                        <li><a href="security-policy.php">Security Policy</a></li>
                    </ul>
                </div>
            </div>
            <div class="footer-bottom">
                <div>&copy; 2025 Oakshire Finance. All rights reserved. Member FDIC.</div>
                <div class="social-links">
                    <a href="#"><i class="fab fa-facebook-f"></i></a>
                    <a href="#"><i class="fab fa-twitter"></i></a>
                    <a href="#"><i class="fab fa-linkedin-in"></i></a>
                    <a href="#"><i class="fab fa-instagram"></i></a>
                </div>
            </div>
        </div>
    </footer>

    <script>
        // Header scroll effect
        const header = document.getElementById('header');
        window.addEventListener('scroll', () => {
            if (window.scrollY > 50) {
                header.classList.add('scrolled');
            } else {
                header.classList.remove('scrolled');
            }
        });

        // Intersection Observer for scroll animations
        const observerOptions = {
            threshold: 0.1,
            rootMargin: '0px 0px -50px 0px'
        };

        const observer = new IntersectionObserver((entries) => {
            entries.forEach(entry => {
                if (entry.isIntersecting) {
                    entry.target.classList.add('visible');
                    observer.unobserve(entry.target);
                }
            });
        }, observerOptions);

        document.querySelectorAll('.scroll-trigger').forEach(el => {
            observer.observe(el);
        });

        // Mobile menu toggle
        const hamburger = document.getElementById('hamburger');
        const navLinks = document.getElementById('navLinks');
        const authButtons = document.getElementById('authButtons');
        let menuOpen = false;

        if (hamburger) {
            hamburger.addEventListener('click', () => {
                menuOpen = !menuOpen;
                navLinks.classList.toggle('active', menuOpen);
                authButtons.classList.toggle('active', menuOpen);
                const icon = hamburger.querySelector('i');
                if (menuOpen) {
                    icon.classList.remove('fa-bars');
                    icon.classList.add('fa-times');
                } else {
                    icon.classList.remove('fa-times');
                    icon.classList.add('fa-bars');
                }
            });
        }

        // Close menu when clicking links on mobile
        document.querySelectorAll('#navLinks a, #authButtons a').forEach(link => {
            link.addEventListener('click', () => {
                if (window.innerWidth <= 900 && menuOpen) {
                    navLinks.classList.remove('active');
                    authButtons.classList.remove('active');
                    menuOpen = false;
                    const icon = hamburger.querySelector('i');
                    if (icon) {
                        icon.classList.remove('fa-times');
                        icon.classList.add('fa-bars');
                    }
                }
            });
        });

        window.addEventListener('resize', () => {
            if (window.innerWidth > 900 && menuOpen) {
                navLinks.classList.remove('active');
                authButtons.classList.remove('active');
                menuOpen = false;
                const icon = hamburger.querySelector('i');
                if (icon) {
                    icon.classList.remove('fa-times');
                    icon.classList.add('fa-bars');
                }
            }
        });
    </script>
</body>

</html>