html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* This is the key change to prevent scrolling */
}

/* Main content area takes up remaining space and handles its own internal overflow if needed, though we will size it to fit */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem; /* Added padding to prevent content from touching edges */
}

/* Custom styling for the clickable grid items */
.grid-item-link {
  text-decoration: none;
  color: inherit;
  height: 100%;
  display: block; /* Make the link a block-level element to fill the container */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.grid-item-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.grid-item-card {
  background-color: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.125);
  padding: 1rem; /* Reduced padding to help with fit */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.grid-item-card i {
  font-size: 2rem; /* Reduced icon size */
  color: #789b3e; /* Bootstrap primary color */
  margin-bottom: 0.5rem; /* Reduced margin */
}

/* Adjust font size for smaller screens to ensure it fits */
@media (max-width: 576px) {
  .grid-item-card p {
    font-size: 0.8rem;
  }
  .cta-icon {
    font-size: 0.8rem;
  }
}

.cta-icon {
  font-size: clamp(2rem, 8vw, 5rem); /* Responsive icon size */
  margin-bottom: 0.5rem;
  color: #789b3e; /* Bootstrap primary blue */
}

.sc-mini-logo {
  width: 64px;
  height: auto;
}

.sc-main-logo {
  width: 128px;
  height: auto;
}

.btn-scgreen {
  color: #789b3e;
}
