<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title><?= htmlspecialchars($conference['homepage_title'] ?? $conference['title_en']) ?></title>

<link rel="stylesheet" href="/easychair/public/assets/bootstrap.min.css">

<style>
body {
    font-family: 'Cairo', sans-serif;
    background: #f5f7fb;
}
.banner {
    background: linear-gradient(135deg,#1e3a8a,#3b82f6);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}
.card {
    border-radius: 16px;
}
</style>
</head>

<body>

<div class="banner">
    <h1><?= htmlspecialchars($conference['homepage_title'] ?? $conference['title_en']) ?></h1>
    <p><?= htmlspecialchars($conference['homepage_description'] ?? '') ?></p>
</div>

<div class="container mt-4">

<div class="row g-4">

<div class="col-md-8">
<div class="card p-3 shadow-sm">
<h4>About Conference</h4>
<p><?= nl2br(htmlspecialchars($conference['homepage_about'] ?? '')) ?></p>
</div>
</div>

<div class="col-md-4">
<div class="card p-3 shadow-sm">
<h5>Important Dates</h5>
<p><?= nl2br(htmlspecialchars($conference['homepage_dates'] ?? '')) ?></p>
</div>
</div>

</div>

<div class="mt-4 text-center">
<a href="/easychair/login" class="btn btn-primary">
Submit Paper
</a>
</div>

</div>

</body>
</html>
