* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #333;
  background-color: #fff;
}

/* Top Bar */
.top-bar {
  background: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
  font-size: 14px;
}

.top-bar a {
  color: #fff;
  text-decoration: underline;
  margin-left: 5px;
}

/* Navbar */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.logo {
  font-weight: bold;
  font-size: 22px;
}

nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.search-box {
  display: flex;
  align-items: center;
}

.search-box input {
  border: 1px solid #ddd;
  padding: 8px 10px;
  border-radius: 3px;
  outline: none;
}

.search-box button {
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

/* Login Section */
.login-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 5%;
  gap: 50px;
  flex-wrap: wrap;
}

.login-img img {
  width: 400px;
  max-width: 100%;
  border-radius: 8px;
}

.login-form {
  max-width: 400px;
  width: 100%;
}

.login-form h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.login-form p {
  margin-bottom: 20px;
  color: #666;
}

.login-form input {
  display: block;
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border: none;
  border-bottom: 1px solid #ccc;
  outline: none;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.login-btn {
  background: #db4444;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.forgot {
  color: #db4444;
  text-decoration: none;
}

/* Footer */
footer {
  background: #000;
  color: #fff;
  padding: 50px 5% 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-col h3 {
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  color: #ccc;
  text-decoration: none;
}

.footer-col ul a:hover {
  text-decoration: underline;
}

.subscribe {
  display: flex;
  border: 1px solid #fff;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 10px;
}

.subscribe input {
  border: none;
  padding: 8px;
  flex: 1;
}

.subscribe button {
  background: #db4444;
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
}

.qr {
  margin-top: 10px;
  width: 100px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #333;
  padding-top: 15px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .login-section {
    flex-direction: column;
    text-align: center;
  }

  header {
    flex-direction: column;
    gap: 10px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

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