/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Tahoma, sans-serif;
}

/* Navbar (Flexbox) */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000000;
  padding: 1rem 2rem;
  color: white;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00bcd4;
}

/* Responsive Navbar */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
  }
}

/* Card Section */
.card-section {
  padding: 2rem;
  display: flex;
  justify-content: center;
}

/* Card (CSS Grid) */
.card {
  display: grid;
  grid-template-rows: auto 1fr;
  max-width: 400px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.card-image {
  position: relative;
}

.card-image img {
  width: 100%;
  display: block;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #00bcd4;
  color: white;
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  border-radius: 5px;
}

.card-content {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 1rem;
  gap: 0.5rem;
}

.card-content h2 {
  font-size: 1.2rem;
}

.card-content p {
  font-size: 0.9rem;
  color: #555;
}

.card-content button {
  padding: 0.5rem;
  border: none;
  background: #333;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.card-content button:hover {
  background: #00bcd4;
}

/* Form Section */
.form-section {
  padding: 2rem;
  display: flex;
  justify-content: center;
}

.contact-form {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Focus States for Accessibility */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid #00bcd4;
  border-color: #00bcd4;
}

.contact-form button {
  padding: 0.6rem;
  border: none;
  background: #333;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #00bcd4;
}
