html {
  scroll-behavior: smooth;
}

/* Mobile Styles */
body {
  font-family: sans-serif;
  background: #f9f9f9;
}

.desktop-navbar {
  display: none;
}

.mobile-navbar {
  display: block;
}
.CRC-logo {
  display: flex;
  align-items: center;
  text-decoration: none; /* Remove underline from link */
}

.mobile-navbar .CRC-logo {
  height: 60px; /* Match the navbar height */
  padding: 10px 0; /* Add some padding */
}
.mobile-navbar .CRC-logo img {
  display: block;
  margin-left: 5px;
  width: 115px; 
  height: auto; 
}

#burger {
  display: none;
}

#burger + label {
  position: fixed;
  top: 20px;
  right: 20px;
  height: 20px;
  width: 20px;
  z-index: 5;
}

label span {
  position: absolute;
  width: 100%;
  height: 2px;
  background: black;
  left: 0;
  transition: 0.5s;
}

label span:first-child {
  top: 3px;
}

label span:nth-child(2) {
  top: 50%;
  margin-top: -1px;
}

label span:last-child {
  top: 16px;
}

#burger:checked + label span {
  opacity: 0;
  top: 50%;
}

#burger:checked + label span:first-child {
  opacity: 1;
  transform: rotate(405deg);
  top: 50%;
}

#burger:checked + label span:last-child {
  opacity: 1;
  transform: rotate(-405deg);
  top: 50%;
}

.mobile-navbar {
  position: fixed;
  top: 0;
  left: 0;
  background: white;
  width: 100%;
  height: 60px;
  overflow: hidden;
  transition: height 0.5s ease;
  z-index: 3;
}

#burger:checked ~ .mobile-navbar {
  height: 100%;
}

.mobile-navbar .menu {
  list-style: none;
  padding: 0;
  margin-top: 100px;
}

.mobile-navbar .menu li {
  opacity: 0;
  transition: opacity 0.3s;
}

#burger:checked ~ .mobile-navbar .menu li {
  opacity: 1;
}

.mobile-navbar .menu li a {
  display: block;
  padding: 15px 30px;
  text-decoration: none;
  color: #000;
  font-weight: bold;
}
