.section-shell {
  width: 100%;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .section-shell {
    padding-left: 6rem;
    padding-right: 6rem;
  }
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background-color: #607afb;
  color: #fff;
  font-weight: 700;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
  box-shadow: 0 0 20px rgba(96, 122, 251, 0.3);
}

.primary-button:hover {
  background-color: #6366f1;
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(96, 122, 251, 0.5);
}

.primary-button:active {
  transform: scale(0.95);
}

.expertise-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgb(226 232 240);
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.expertise-card:hover {
  transform: translateY(-0.25rem);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.expertise-card.expertise-trigger {
  cursor: pointer;
}

.dark .expertise-card {
  border-color: rgb(30 41 59);
  background-color: #1c2127;
}

.expertise-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  background: rgba(15, 19, 35, 0.7);
  backdrop-filter: blur(4px);
}

@media (max-width: 1024px) {
  .expertise-modal-overlay {
    padding: 3.5rem;
  }
}

@media (max-width: 768px) {
  .expertise-modal-overlay {
    padding: 4.25rem 2rem;
  }
}

.expertise-modal-panel {
  position: relative;
  width: min(68rem, 100%);
  max-height: calc(100dvh - 1.5rem);
  overflow: auto;
  border: 1px solid rgb(226 232 240);
  border-radius: 1rem;
  background: #fff;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(96, 122, 251, 0.15);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.expertise-modal-panel::-webkit-scrollbar {
  display: none;
}

.dark .expertise-modal-panel {
  border-color: rgb(51 65 85);
  background: #1c2127;
}

.expertise-modal-image {
  width: 100%;
  height: 18rem;
  object-fit: cover;
}

@media (min-width: 768px) {
  .expertise-modal-image {
    height: 22rem;
  }
}

.expertise-modal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.expertise-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  flex: 0 0 2.75rem;
  border-radius: 0.75rem;
  background: #607afb;
  color: #fff;
  box-shadow: 0 8px 20px rgba(96, 122, 251, 0.3);
}

.expertise-modal-icon .material-symbols-outlined {
  font-size: 1.5rem;
  line-height: 1;
}

.expertise-modal-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.expertise-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(96, 122, 251, 0.35);
  border-radius: 9999px;
  background: rgba(15, 19, 35, 0.72);
  color: #fff;
}

.expertise-modal-close:hover {
  background: rgba(96, 122, 251, 0.85);
}

.skill-chip {
  border-radius: 0.5rem;
  border: 1px solid rgba(96, 122, 251, 0.35);
  background-color: rgba(96, 122, 251, 0.2);
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #607afb;
  backdrop-filter: blur(4px);
}

.dark .skill-chip {
  border-color: rgba(96, 122, 251, 0.45);
  background-color: rgba(96, 122, 251, 0.25);
  color: #91a3ff;
}

.field-label {
  margin-bottom: 0.375rem;
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgb(51 65 85);
}

.dark .field-label {
  color: rgb(203 213 225);
}

.field-input {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid rgb(203 213 225);
  background-color: #f5f6f8;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: rgb(15 23 42);
  outline: none;
}

.field-input:focus {
  border-color: #607afb;
  box-shadow: 0 0 0 1px #607afb;
}

.dark .field-input {
  border-color: rgb(51 65 85);
  background-color: #0f1323;
  color: #fff;
}

.client-logo {
  filter: brightness(0) saturate(100%) invert(43%) sepia(51%) saturate(2050%)
    hue-rotate(208deg) brightness(101%) contrast(98%);
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body {
  min-height: max(884px, 100dvh);
}
