/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #f4f7fb;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background: #ffffff;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  color: #0077ff;
  font-size: 2rem;
  font-weight: bold;
}

nav a {
  color: #333;
  margin-left: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #0077ff;
}

/* Hero Section */
#home {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #eaf6ff, #d7eaff);
}

#home h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #0077ff;
}

#home p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #444;
}

#home button {
  padding: 12px 30px;
  font-size: 1rem;
  border: none;
  border-radius: 25px;
  background-color: #0077ff;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#home button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0, 119, 255, 0.4);
}

/* Services Section */
#services {
  padding: 60px 20px;
  text-align: center;
  background: #f0f5ff;
}

#services h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #0077ff;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card {
  background: #fff;
  border: 1px solid #dbe9ff;
  border-radius: 12px;
  padding: 30px 40px;
  font-size: 1.1rem;
  min-width: 200px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 119, 255, 0.05);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 119, 255, 0.15);
}

/* Login Section */
#login {
  padding: 60px 20px;
  text-align: center;
  background: #eaf3ff;
}

#login h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #0077ff;
}

input[type="email"],
input[type="password"] {
  padding: 12px 20px;
  margin-top: 10px;
  width: 300px;
  max-width: 90%;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  border-radius: 8px;
}

input:focus {
  border-color: #0077ff;
  outline: none;
}

button#loginBtn,
button#signupBtn {
  padding: 10px 25px;
  margin: 10px 5px;
  background: #0077ff;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

button:hover {
  background: #005edb;
  transform: scale(1.03);
}

#status {
  margin-top: 15px;
  font-weight: 500;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #ffffff;
  color: #777;
  font-size: 0.9rem;
  border-top: 1px solid #ddd;
}

/* Responsive */
@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
    align-items: center;
  }

  header {
    flex-direction: column;
    text-align: center;
  }

  nav a {
    margin: 10px;
    display: inline-block;
  }
}
