#main-nav {
  position: sticky;
  top: 0;
}

.navbar {
  position: sticky;
  top: 0;
}

h1 {
    text-align: center;
}

h2 {
    text-align: center;
    font-size: large;
}

#MainImage {
    width: 100%;
    height: auto;
    margin-top: 20px;
    margin-bottom: 100px;
}

img {
    height: 50px;
}

.main-card img {
  width: 100%;
  height: 200px;   /* fixed height */
  object-fit: contain; /* preserve aspect ratio */
}



.social-link {
  text-decoration: none;
  color: black;
  width: 40px;
  height: 40px;
  margin: 5px;
  transition: background 0.3s;
}

.social-link:hover {
  background: #0d6efd; /* highlight on hover */
}

.contact-item {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
  width: 40%;
  width: 100%;
}

.main-body {
  margin-left: 50px;
  margin-top: 60px;
  margin-bottom: 60px;
  margin-right: 50px;
}

button {
  margin-left: 20px;
}

input, textarea {
  width: 50%;
  background-color: aqua;
}


@media (max-width: 768px) {
  .cards-container {
    grid-template-columns: 1fr; /* single column */
  }

}