body {
  margin: 0;
  padding: 60px 0 0 0;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;             /* fixed height */
  box-sizing: border-box;   /* include padding inside height */
  padding: 0 2rem;          /* horizontal padding only */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}


nav .logo {
  font-weight: bold;
  width: 60px;
  height: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

nav ul li {
  cursor: pointer;
  font-weight: 600;
  color: #333;
}

nav ul li a {
  text-decoration: none;
  color: inherit;
}

nav ul li a:hover {
  text-decoration: underline;
  color: #334;
}

.current {
  text-decoration: underline;
  color: #333;
}

.contact {
  padding: 2rem;
}

.contact h2 {
  margin-bottom: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1rem;
}


.contact-card {
  position: relative;
  width: 100%;
  height: 300px;  /* or whatever height you want */
  border-radius: 10px;
  background-color: #333;

  /* add the image here */
  background-image: url('../images/crystbanner.png');
  background-size: cover;      /* fills entire card */
  background-position: center; /* center the image */
  background-repeat: no-repeat;
  color: white; /* make text visible */
  padding: 1rem;
  box-sizing: border-box;
}



.contact-card img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* ensures image covers entire area without distortion */
  border-radius: 10px;
  z-index: 1;
}

.contact-card h1 {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  margin-bottom: 2px;  /* only top and bottom margin */
  color: white;
  text-shadow: 0 0 5px rgba(0,0,0,0.8);
  font-size: 30px;
}

.contact-card a {
  display: block;         /* make link a block element */
  margin-top: 1px;       /* spacing below h1 */
  color: whitesmoke;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  position: relative;     /* keep it on top of background */
  z-index: 2;
}
