/* Add design changes here. Original utility styles live in landing.css. */
[data-term]:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}
/* Keep all year buttons accessible on narrow screens. */
@media (max-width: 639px) {
  #curriculum [data-year] {
    padding: 0.75rem;
    white-space: nowrap;
  }
  #curriculum .flex:has(> [data-year]) {
    gap: 0.5rem;
    overflow-x: auto;
    justify-content: flex-between;
  }
  footer {
    padding-bottom: 10rem;
  }
}

.mobile-contact {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 5px;
  width: 100%;
  padding: 6px;
  box-sizing: border-box;
}

.mobile-contact-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 5px 10px;
  border-radius: 24px;
  background-color: #3b82f6;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color 0.2s ease;
}

.mobile-contact-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 0;
}

.mobile-contact-link:hover {
  background-color: #2563eb;
}

.mobile-contact-link:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 3px;
}

/* Laptop aur desktop par hide */
@media (min-width: 768px) {
  .mobile-contact {
    display: none;
  }
}
